export interface ExampleGenerate {
    code: number;
    msg:  string;
    data: Data;
}

export interface Data {
    counts:   number;
    pageSize: number;
    list:     List[];
}

export interface List {
    id:             number;
    companyId:      number;
    receiveTime:    Date;
    addTime:        Date;
    addAccountId:   number;
    picture:        null;
    remarks:        string;
    state:          string;
    addAccountName: string;
    companyName:    string;
    counts:         number;
    purchasePrice:  null;
    foods:          null;
}
export interface addPrems {
    id:             number;
    companyId:      number;
    receiveTime:    Date|string;
    addTime:        Date|string;
    addAccountId:   number;
    picture?:        null;
    remarks:        string;
    state?:          string;
    addAccountName?: null;
    companyName?:    null;
    counts?:         number;
    purchasePrice?:  null;
    foods:          Food[];
    
}

export interface Food {
    id:             number;
    purchaseId:     number;
    foodName:       string;
    unit:           string;
    supplierId:     number;
    wholePrice:     number;
    sellPrice:      number;
    purchasePrice:  number;
    purchaseCounts: number;
    receiveCounts:  number;
    supplierName:   null;
}
